//
//  CourseWork.h
//  Gradekeeper0.2
//
//  Created by Qian Tim on 09-11-17.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CourseWork : NSObject {
	float mark;
	float maxMark;
	float percentage;
	NSString* type;
	NSString* startDate;
	NSString* dueDate;
	NSString* name;
}
@property (nonatomic,retain) NSString* name;
@property (nonatomic) float mark;
@property (nonatomic) float maxMark;
@property (nonatomic) float percentage;
@property (nonatomic,retain) NSString* type;
@property (nonatomic,retain) NSString* startDate;
@property (nonatomic,retain) NSString* dueDate;

-(CourseWork*) initWithName:(NSString*)newName Type:(NSString*)newType Mark:(float)newMark MaxMark:(float)newMaxMark StartDate:(NSString*)newStartDate DueDate:(NSString*)newDueDate;
-(void) setMark: (float) newMark;
-(void) setPercentage;
@end
